package thunderbirdgtd.entities;

import java.util.Date;

public class Alarm {
	private Date creationDate, dueDate;
	private long secondsBefore;
	
	public Alarm(Date creationDate, Date dueDate, long secondsBefore)
	{
		this.creationDate = creationDate;
		this.dueDate = dueDate;
		this.secondsBefore = secondsBefore;
	}
	

	public Date getCreationDate() {
		return creationDate;
	}


	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}


	public Date getDueDate() {
		return dueDate;
	}


	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}


	public long getSecondsBefore() {
		return secondsBefore;
	}


	public void setSecondsBefore(long secondsBefore) {
		this.secondsBefore = secondsBefore;
	}
	
	public String toString()
	{
		return "creationdate: "+ creationDate.toString() + "duedate: " + dueDate.toString() + "seconds: " + String.valueOf(secondsBefore);
		
	}
	
}
